package util;

public class StringUtil {
	public static String padRight(String text, char c, int length) {
		StringBuffer padded = new StringBuffer(text);
		while (padded.length() < length) {
			padded.insert(0, c);
		}
		return padded.toString();
	}
}
